﻿// ===============================================================================
// DotNet.Platform 开发框架 2016 版权所有
// ===============================================================================

using System;

namespace XNWebModel
{
    public class BusLineInfoModel
    {
        /// <summary>
        /// 首班车发车时间
        /// </summary>
        public DateTime FSTSENDTIME { get; set; }

        /// <summary>
        /// 末班车发车时间
        /// </summary>
        public DateTime LSTSENDTIME { get; set; }

        /// <summary>
        /// 正常票价
        /// </summary>
        public decimal NORMALVALUE { get; set; }
    }

    public class RealBusLineInfoModel
    {
        public RealBusLineInfoModel(BusLineInfoModel model)
        {
            if (model != null)
            {
                FSTSENDTIME = model.FSTSENDTIME.ToString("HH:mm");
                LSTSENDTIME = model.LSTSENDTIME.ToString("HH:mm");
                NORMALVALUE = model.NORMALVALUE;
            }

        }

        /// <summary>
        /// 首班车发车时间
        /// </summary>
        public string FSTSENDTIME { get; set; }

        /// <summary>
        /// 末班车发车时间
        /// </summary>
        public string LSTSENDTIME { get; set; }

        /// <summary>
        /// 正常票价
        /// </summary>
        public decimal NORMALVALUE { get; set; }
    }
}